import request from '@/utils/request'

// 查询销售出仓数据列表
export function listBiSaleOutWarehouse(query) {
  return request({
    url: '/financial/BiSaleOutWarehouse/list',
    method: 'get',
    params: query
  })
}

// 查询销售出仓数据详细
export function getBiSaleOutWarehouse(id) {
  return request({
    url: '/financial/BiSaleOutWarehouse/' + id,
    method: 'get'
  })
}

// 新增销售出仓数据
export function addBiSaleOutWarehouse(data) {
  return request({
    url: '/financial/BiSaleOutWarehouse',
    method: 'post',
    data: data
  })
}

// 修改销售出仓数据
export function updateBiSaleOutWarehouse(data) {
  return request({
    url: '/financial/BiSaleOutWarehouse',
    method: 'put',
    data: data
  })
}

// 删除销售出仓数据
export function delBiSaleOutWarehouse(id) {
  return request({
    url: '/financial/BiSaleOutWarehouse/' + id,
    method: 'delete'
  })
}
